<?php  
//header('Content-Type:application/json;charset=utf-8');//字符编码设置  


$jarr = array('abc','def',1);




echo date('Y-m-d');//将数组进行json编码


?> 